Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doublecmd-beta: Add version 1.1.10 #1605

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Conversation

kroteau
Copy link
Contributor

@kroteau kroteau commented Feb 22, 2024

Closes #1604

Copy link
Contributor

All changes look good.

Wait for review from human collaborators.

doublecmd-beta

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

@goyalyashpal
Copy link

yeah, figuring out the persists is going to be hardest thing in scoop lol

@kroteau
Copy link
Contributor Author

kroteau commented Mar 22, 2024

@goyalyashpal do you mean https://github.com/ScoopInstaller/Scoop/wiki/Persistent-data ?
How it can be helpful here ?
doublecmd uses user dir for everything (pliguns/etc)

@goyalyashpal
Copy link

goyalyashpal commented Mar 28, 2024

hi! so yeah, i finally took the time to look into the unknown, and it seems that the settings/ dir is containing lots and lots of user configs and user history like data which a user would definitely like to be persisted across uninstalls and upgrades

$ pwd
.../doublecmd-snapshot/settings

$ eza -Alrs size --no-time
-a--- 120k doublecmd.xml
-a---  89k colors.json
-a---  30k shortcuts.scf
-a--- 8.6k doublecmd.err
-a--- 5.7k history.xml
-a--- 3.8k multiarc.ini
-a--- 3.6k highlighters.xml
-a--- 2.2k session.ini
-a---  582 pixmaps.txt
-a---   27 doublecmd.cfg
-a---    0 doublecmd.inf

$ # nu -c 'ls -am | reject modified | sort-by -r size | merge (env ls -A1 | file --mime-type -f - | from yaml | transpose name "type (file.exe)")'
$ ls -A1 | file --mime-type -f - | nu --stdin -c 'from yaml | transpose name "type (file.exe)" | join (ls -am) name | sort-by -r size'
╭────┬──────────────────┬──────────────────────────────────┬──────────────────────────┬───────────╮
│  # │       name       │         type (file.exe)          │           type           │   size    │
├────┼──────────────────┼──────────────────────────────────┼──────────────────────────┼───────────┤
│  0 │ doublecmd.xml    │ text/xml                         │ text/xml                 │ 117.2 KiB │
│  1 │ colors.json      │ text/plain                       │ application/json         │  86.5 KiB │
│  2 │ shortcuts.scf    │ text/xml                         │ unknown                  │  28.9 KiB │
│  3 │ doublecmd.err    │ text/plain                       │ unknown                  │  10.6 KiB │
│  4 │ history.xml      │ text/xml                         │ text/xml                 │   5.6 KiB │
│  5 │ multiarc.ini     │ application/x-wine-extension-ini │ text/plain               │   3.7 KiB │
│  6 │ highlighters.xml │ text/xml                         │ text/xml                 │   3.5 KiB │
│  7 │ session.ini      │ application/x-wine-extension-ini │ text/plain               │   2.1 KiB │
│  8 │ pixmaps.txt      │ text/plain                       │ text/plain               │     582 B │
│  9 │ doublecmd.cfg    │ text/plain                       │ text/plain               │      27 B │
│ 10 │ doublecmd.inf    │ inode/x-empty                    │ application/octet-stream │       0 B │
╰────┴──────────────────┴──────────────────────────────────┴──────────────────────────┴───────────╯


$ cat doublecmd.xml | yq -p xml -o json | jq '.doublecmd | keys_unsorted'
[
  "+@DCVersion",
  "+@ConfigVersion",
  "Toolbars",
  "MainWindow",
  "Tabs",
  "Language",
  "Behaviours",
  "Tools",
  "Fonts",
  "Colors",
  "ToolTips",
  "Layout",
  "FilesViews",
  "Keyboard",
  "FileOperations",
  "Log",
  "Configuration",
  "History",
  "QuickSearch",
  "QuickFilter",
  "Miscellaneous",
  "Thumbnails",
  "Description",
  "AutoRefresh",
  "Icons",
  "IgnoreList",
  "DirectoryHotList",
  "Viewer",
  "Editor",
  "Differ",
  "SyncDirs",
  "InternalAssociations",
  "TreeViewMenu",
  "FavoriteTabsOptions",
  "Lua",
  "NameShortcutFile",
  "HotKeySortOrder",
  "UseEnterToCloseHotKeyEditor",
  "LastUsedPacker",
  "LastDoAnyCommand",
  "MarkMaskCaseSensitive",
  "MarkMaskIgnoreAccents",
  "MarkMaskFilterWindows",
  "MarkShowWantedAttribute",
  "MarkDefaultWantedAttribute",
  "MarkLastWantedAttribute",
  "SearchTemplates",
  "ColumnsSets",
  "Plugins",
  "MultiRenamePresets"
]

@niheaven niheaven merged commit fecb430 into ScoopInstaller:master Apr 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Request]: Doublecmd-beta
3 participants